package com.ddwl.schema.bo.goods.retail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author hemiaojun
 * @Date 2021/1/11 8:52
 */
@Getter
@Setter
@ApiModel("五八马小程序商家端 店铺商品分类bo")
public class MerchantShopItemCategoryBo {

    @ApiModelProperty(value = "门店ID",hidden = true)
    private String shopId;

    @NotNull(message = "分类名称不能为空")
    @ApiModelProperty("分类名称")
    private String name;

    @ApiModelProperty("父级ID")
    private String pid;
}
